package com.bxj.wxtt.dubbo;

import com.bxj.wxtt.api.domain.AdvChannel;
import com.bxj.wxtt.api.service.IAdvChannelDubboService;
import com.bxj.wxtt.service.AdvChannelService;
import com.ifeng.matrix.common.domain.PageResult;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;

/**
 * 由MyBatis Generator工具自动生成 2018-07-18 19:49:05
 */
@Component("advChannelDubboService")
public class AdvChannelDubboServiceImpl implements IAdvChannelDubboService {
    @Resource
    AdvChannelService advChannelService;

    public AdvChannel selectById(Integer id) {
        return advChannelService.selectById(id);
    }

    public List<AdvChannel> getAdvChannelList(AdvChannel advChannel) {
        return advChannelService.getAdvChannelList(advChannel);
    }

    public PageResult<AdvChannel> getAdvChannelPage(AdvChannel advChannel) {
        return advChannelService.getAdvChannelPage(advChannel);
    }

    public int insert(AdvChannel advChannel) {
        int ret = advChannelService.insert(advChannel);
        return ret;
    }

    public int updateAdvChannelById(AdvChannel advChannel) {
        return advChannelService.updateAdvChannelById(advChannel);
    }
}